package com.caregiver.watch.business.file.service;

import com.caregiver.watch.business.file.model.dto.UploadResponse;
import org.springframework.web.multipart.MultipartFile;

/**
 * @Description: 文件存储服务
 * @Author 疆戟
 * @Date 2025/8/29 20:59
 * @Version 1.0
 */
public interface FileStorageService {

    /**
     * @Description: 存储图片
     * @Author 疆戟
     * @Date 2025/8/29 20:59
     * @param file
     * @return com.caregiver.watch.business.file.model.dto.UploadResponse
     */
    UploadResponse storeImage(MultipartFile file);


    /**
     * @Description: 存储音频
     * @Author 疆戟
     * @Date 2025/8/29 20:59
     * @param file
     * @return com.caregiver.watch.business.file.model.dto.UploadResponse
     */
    UploadResponse storeAudio(MultipartFile file);
}
